import React, {useCallback, useEffect, useMemo} from 'react';
import {LOGIN, LOGIN2} from "@/api/login";
import {Button, Dropdown, Menu} from "antd";
import {HeaderMenu} from "@/common";

const Login = (props: any) => {

  const onClick = () => {
    LOGIN2({username: "asas", password: "2121"}).then(res => {
      console.log(res)
    })
  }

  return (
    <div>
      <Button onClick={onClick}>
        click
      </Button>
    </div>
  )
}

export default Login
